package com.xiaoshuidi.cloud.module.rooms.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoshuidi.cloud.framework.mybatis.core.dataobject.BaseDO;
import com.xiaoshuidi.cloud.framework.tenant.core.db.TenantBaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 公寓
 * </p>
 *
 * @author hans.zhang
 * @since 2023-05-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("room_apartment")
@Schema(description="公寓")
public class Apartment extends TenantBaseDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "公寓编号")
    private String no;

    @Schema(description = "是否集中式")
    private Boolean isConcentrated;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "公寓所在省份")
    private String province;

    @Schema(description = "城市")
    private String city;

    @Schema(description = "区域")
    private String district;

    @Schema(description = "街道")
    private String street;

    @Schema(description = "详细地址")
    private String address;

    @Schema(description = "标签")
    private String tags;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "纬度值")
    private String latitude;

    @Schema(description = "经度值")
    private String longitude;

    @Schema(description = "经营模式, 关联字典表 社会化长租、政府公租房")
    private String sourceType;

    @Schema(description = "门店联系电话")
    private String storeTel;

    @Schema(description = "门店名称")
    private String storeName;

    @Schema(description = "最短租期")
    private Integer shortestLeaseTerm;

    @Schema(description = "图片url,多张采用英文逗号分割")
    private String picUrl;

    @Schema(description = "视频URL，多条采用英文逗号分割")
    private String videoUrl;

    @Schema(description = "vr封面url")
    private String vrPicUrl;
    @Schema(description = "vr URL,多条采用英文逗号分割")
    private String vrUrl;

    @Schema(description = "二维码链接")
    private String qrCodeUrl;

    @Schema(description = "优惠标题")
    private String discountTitle;

    @Schema(description = "优惠信息")
    private String discountInfo;

    @Schema(description = "周边配套")
    private String roomAssets;

    @Schema(description = "交通路线")
    private String transportLine;

    @Schema(description = "公共设施，字典表逗号分割")
    private String publicFacilities;

    @Schema(description = "部门id")
    private Long deptId;

    @Schema(description = "是否停用")
    private Boolean isStop;


}
